[INFO] cloning repository https://github.com/noneuclideangirl/cryptid
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noneuclideangirl/cryptid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3d693c4aae95ed22be59ebfc66dc0dbfe762d23
[INFO] checking noneuclideangirl/cryptid against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoneuclideangirl%2Fcryptid" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/noneuclideangirl/cryptid
[INFO] finished tweaking git repo https://github.com/noneuclideangirl/cryptid
[INFO] tweaked toml for git repo https://github.com/noneuclideangirl/cryptid written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/noneuclideangirl/cryptid on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 61 packages to latest compatible versions
[INFO] [stderr]       Adding num-bigint v0.4.8 (available: v0.5.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0
[INFO] running `Command { std: "docker" "start" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling cc v1.2.67
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]     Checking subtle-ng v2.5.0
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking rand_chacha v0.10.0
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking serde_json v1.0.150
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking num-bigint v0.4.8
[INFO] [stderr]     Checking curve25519-dalek-ng v4.1.1
[INFO] [stderr]     Checking cryptid v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand::RngCore`
[INFO] [stdout]   --> src/elgamal.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::{SeedableRng, RngCore};
[INFO] [stdout]    |                         ^^^^^^^ no `RngCore` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/shuffle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::RngCore`
[INFO] [stdout]    --> src/commit.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     use rand::RngCore;
[INFO] [stdout]     |         ^^^^^^-------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               no `RngCore` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::RngCore`
[INFO] [stdout]   --> src/elgamal.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::{SeedableRng, RngCore};
[INFO] [stdout]    |                         ^^^^^^^ no `RngCore` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::RngCore`
[INFO] [stdout]    --> src/shuffle.rs:468:9
[INFO] [stdout]     |
[INFO] [stdout] 468 |     use rand::RngCore;
[INFO] [stdout]     |         ^^^^^^-------
[INFO] [stdout]     |               |
[INFO] [stdout]     |               no `RngCore` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/shuffle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/elgamal.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         rng.fill_bytes(&mut buf);
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 195 |         rng.try_fill_bytes(&mut buf);
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand_core::RngCore` is not satisfied
[INFO] [stdout]    --> src/elgamal.rs:201:49
[INFO] [stdout]     |
[INFO] [stdout] 201 |         curve::CurveElem(RistrettoPoint::random(rng.deref_mut()))
[INFO] [stdout]     |                          ---------------------- ^^^^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `ChaCha20Rng`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub trait RngCore {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub trait RngCore: Rng {}
[INFO] [stdout]     | ---------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `rand_core::RngCore`:
[INFO] [stdout]               &'a mut R
[INFO] [stdout]               Box<R>
[INFO] [stdout]               rand::rngs::mock::StepRng
[INFO] [stdout]               rand_core::block::BlockRng64<R>
[INFO] [stdout]               rand_core::block::BlockRng<R>
[INFO] [stdout]               rand_core::os::OsRng
[INFO] [stdout] note: required by a bound in `RistrettoPoint::random`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-ng-4.1.1/src/ristretto.rs:651:22
[INFO] [stdout]     |
[INFO] [stdout] 651 |     pub fn random<R: RngCore + CryptoRng>(rng: &mut R) -> Self {
[INFO] [stdout]     |                      ^^^^^^^ required by this bound in `RistrettoPoint::random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand_core::CryptoRng` is not satisfied
[INFO] [stdout]    --> src/elgamal.rs:201:49
[INFO] [stdout]     |
[INFO] [stdout] 201 |         curve::CurveElem(RistrettoPoint::random(rng.deref_mut()))
[INFO] [stdout]     |                          ---------------------- ^^^^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `ChaCha20Rng`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub trait CryptoRng {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | pub trait CryptoRng: Rng + TryCryptoRng<Error = Infallible> {}
[INFO] [stdout]     | ----------------------------------------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] help: the following other types implement trait `rand_core::CryptoRng`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:431:1
[INFO] [stdout]     |
[INFO] [stdout] 431 | impl<R: BlockRngCore + CryptoRng> CryptoRng for BlockRng<R> {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rand_core::block::BlockRng<R>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:481:1
[INFO] [stdout]     |
[INFO] [stdout] 481 | impl<'a, R: CryptoRng + ?Sized> CryptoRng for &'a mut R {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a mut R`
[INFO] [stdout] ...
[INFO] [stdout] 485 | impl<R: CryptoRng + ?Sized> CryptoRng for Box<R> {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<R>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/os.rs:50:1
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl CryptoRng for OsRng {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^ `rand_core::os::OsRng`
[INFO] [stdout] note: required by a bound in `RistrettoPoint::random`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-ng-4.1.1/src/ristretto.rs:651:32
[INFO] [stdout]     |
[INFO] [stdout] 651 |     pub fn random<R: RngCore + CryptoRng>(rng: &mut R) -> Self {
[INFO] [stdout]     |                                ^^^^^^^^^ required by this bound in `RistrettoPoint::random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `gen_range` found for mutable reference `&mut ChaCha20Rng` in the current scope
[INFO] [stdout]   --> src/shuffle.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let k = rng.gen_range(i..n);
[INFO] [stdout]    |                         ^^^^^^^^^ method not found in `&mut ChaCha20Rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/commit.rs:192:17
[INFO] [stdout]     |
[INFO] [stdout] 192 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 180 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 192 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/commit.rs:213:17
[INFO] [stdout]     |
[INFO] [stdout] 213 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 180 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 213 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/commit.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 180 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 237 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/commit.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 180 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 269 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/elgamal.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         rng.fill_bytes(&mut buf);
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 195 |         rng.try_fill_bytes(&mut buf);
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand_core::RngCore` is not satisfied
[INFO] [stdout]    --> src/elgamal.rs:201:49
[INFO] [stdout]     |
[INFO] [stdout] 201 |         curve::CurveElem(RistrettoPoint::random(rng.deref_mut()))
[INFO] [stdout]     |                          ---------------------- ^^^^^^^^^^^^^^^ the trait `rand_core::RngCore` is not implemented for `ChaCha20Rng`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub trait RngCore {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:257:1
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub trait RngCore: Rng {}
[INFO] [stdout]     | ---------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout]     = help: the following other types implement trait `rand_core::RngCore`:
[INFO] [stdout]               &'a mut R
[INFO] [stdout]               Box<R>
[INFO] [stdout]               rand::rngs::mock::StepRng
[INFO] [stdout]               rand_core::block::BlockRng64<R>
[INFO] [stdout]               rand_core::block::BlockRng<R>
[INFO] [stdout]               rand_core::os::OsRng
[INFO] [stdout] note: required by a bound in `RistrettoPoint::random`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-ng-4.1.1/src/ristretto.rs:651:22
[INFO] [stdout]     |
[INFO] [stdout] 651 |     pub fn random<R: RngCore + CryptoRng>(rng: &mut R) -> Self {
[INFO] [stdout]     |                      ^^^^^^^ required by this bound in `RistrettoPoint::random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ChaCha20Rng: rand_core::CryptoRng` is not satisfied
[INFO] [stdout]    --> src/elgamal.rs:201:49
[INFO] [stdout]     |
[INFO] [stdout] 201 |         curve::CurveElem(RistrettoPoint::random(rng.deref_mut()))
[INFO] [stdout]     |                          ---------------------- ^^^^^^^^^^^^^^^ the trait `rand_core::CryptoRng` is not implemented for `ChaCha20Rng`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: there are multiple different versions of crate `rand_core` in the dependency graph
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:209:1
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub trait CryptoRng {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ this is the expected trait
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:95:1
[INFO] [stdout]     |
[INFO] [stdout]  95 | pub trait CryptoRng: Rng + TryCryptoRng<Error = Infallible> {}
[INFO] [stdout]     | ----------------------------------------------------------- this is the found trait
[INFO] [stdout]     = help: you can use `cargo tree` to explore your dependency tree
[INFO] [stdout] help: the following other types implement trait `rand_core::CryptoRng`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/block.rs:431:1
[INFO] [stdout]     |
[INFO] [stdout] 431 | impl<R: BlockRngCore + CryptoRng> CryptoRng for BlockRng<R> {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rand_core::block::BlockRng<R>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:481:1
[INFO] [stdout]     |
[INFO] [stdout] 481 | impl<'a, R: CryptoRng + ?Sized> CryptoRng for &'a mut R {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&'a mut R`
[INFO] [stdout] ...
[INFO] [stdout] 485 | impl<R: CryptoRng + ?Sized> CryptoRng for Box<R> {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Box<R>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/os.rs:50:1
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl CryptoRng for OsRng {}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^ `rand_core::os::OsRng`
[INFO] [stdout] note: required by a bound in `RistrettoPoint::random`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/curve25519-dalek-ng-4.1.1/src/ristretto.rs:651:32
[INFO] [stdout]     |
[INFO] [stdout] 651 |     pub fn random<R: RngCore + CryptoRng>(rng: &mut R) -> Self {
[INFO] [stdout]     |                                ^^^^^^^^^ required by this bound in `RistrettoPoint::random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `gen_range` found for mutable reference `&mut ChaCha20Rng` in the current scope
[INFO] [stdout]   --> src/shuffle.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let k = rng.gen_range(i..n);
[INFO] [stdout]    |                         ^^^^^^^^^ method not found in `&mut ChaCha20Rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/shuffle.rs:507:17
[INFO] [stdout]     |
[INFO] [stdout] 507 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 463 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 507 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `fill_bytes` found for struct `std::sync::MutexGuard<'_, ChaCha20Rng>` in the current scope
[INFO] [stdout]    --> src/shuffle.rs:534:17
[INFO] [stdout]     |
[INFO] [stdout] 534 |             rng.fill_bytes(&mut seed);
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.10.1/src/lib.rs:62:8
[INFO] [stdout]     |
[INFO] [stdout]  62 |     fn fill_bytes(&mut self, dst: &mut [u8]);
[INFO] [stdout]     |        ---------- the method is available for `std::sync::MutexGuard<'_, ChaCha20Rng>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Rng` which provides `fill_bytes` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 463 +     use rand::Rng;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `try_fill_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 534 |             rng.try_fill_bytes(&mut seed);
[INFO] [stdout]     |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptid` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptid` (lib test) due to 13 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0", kill_on_drop: false }`
[INFO] [stdout] cb5f8810804307acc8a4e2971022dfc29d67ff20754a43b6b3f74e9f767d40b0
